package com.ruoyi.dmp.hadoop.config.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Hadoop配置对象 dmp_hadoop_config
 * 
 * @author MquanZeng
 * @date 2021-12-16
 */
public class DmpHadoopConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long hcId;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String hcName;

    /** Hadoop版本 */
    @Excel(name = "Hadoop版本")
    private String hadoopVersion;

    /** Hadoop是否HA */
    @Excel(name = "Hadoop是否HA")
    private String isHa;

    /** 非HA配置fs.defaultFS */
    @Excel(name = "非HA配置fs.defaultFS")
    private String nohaFsDefaultfs;

    /** HA配置dfs.nameservices */
    @Excel(name = "HA配置dfs.nameservices")
    private String haDfsNameservices;

    /** HA配置实际第一个NameNode地址 */
    @Excel(name = "HA配置实际第一个NameNode地址")
    private String haDfsNamenode1Address;

    /** HA配置实际第二个NameNode地址 */
    @Excel(name = "HA配置实际第二个NameNode地址")
    private String haDfsNamenode2Address;

    public void setHcId(Long hcId) 
    {
        this.hcId = hcId;
    }

    public Long getHcId() 
    {
        return hcId;
    }
    public void setHcName(String hcName) 
    {
        this.hcName = hcName;
    }

    public String getHcName() 
    {
        return hcName;
    }
    public void setHadoopVersion(String hadoopVersion) 
    {
        this.hadoopVersion = hadoopVersion;
    }

    public String getHadoopVersion() 
    {
        return hadoopVersion;
    }
    public void setIsHa(String isHa) 
    {
        this.isHa = isHa;
    }

    public String getIsHa() 
    {
        return isHa;
    }
    public void setNohaFsDefaultfs(String nohaFsDefaultfs) 
    {
        this.nohaFsDefaultfs = nohaFsDefaultfs;
    }

    public String getNohaFsDefaultfs() 
    {
        return nohaFsDefaultfs;
    }
    public void setHaDfsNameservices(String haDfsNameservices) 
    {
        this.haDfsNameservices = haDfsNameservices;
    }

    public String getHaDfsNameservices() 
    {
        return haDfsNameservices;
    }
    public void setHaDfsNamenode1Address(String haDfsNamenode1Address) 
    {
        this.haDfsNamenode1Address = haDfsNamenode1Address;
    }

    public String getHaDfsNamenode1Address() 
    {
        return haDfsNamenode1Address;
    }
    public void setHaDfsNamenode2Address(String haDfsNamenode2Address) 
    {
        this.haDfsNamenode2Address = haDfsNamenode2Address;
    }

    public String getHaDfsNamenode2Address() 
    {
        return haDfsNamenode2Address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hcId", getHcId())
            .append("hcName", getHcName())
            .append("hadoopVersion", getHadoopVersion())
            .append("isHa", getIsHa())
            .append("nohaFsDefaultfs", getNohaFsDefaultfs())
            .append("haDfsNameservices", getHaDfsNameservices())
            .append("haDfsNamenode1Address", getHaDfsNamenode1Address())
            .append("haDfsNamenode2Address", getHaDfsNamenode2Address())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
